package com.kkb.mybatis.config;

/**
 * User: zsl
 * Date: 2019/10/1218:01
 * Description:
 */
public class TextSqlNode implements SqlNode {

    private  String sqlText;

    public TextSqlNode(String sqlText) {
        this.sqlText = sqlText;
    }

    public void apply(DynamicContext dynamicContext) {

    }

    public boolean isSynamic(String sqlText) {
        if(sqlText.contains("${")){
            return true;
        }
        return false;
    }
}
